require('./app.styl');
import 'babel-polyfill'
import 'whatwg-fetch';
import { getDomRouter } from 'clientConfig/util/Page_router';
import { ready } from 'clientConfig/util/queryurlfield'
const Storage = require('clientConfig/util/StoreData').Storage;
const Appjudge = require('clientConfig/util/AppJudge');
Storage.set('user.talkId', '9686')//智学号
Storage.set('user.parentId', '9774')
Storage.set('user.studentId', '24900')
Storage.set('user.classId', '')
Storage.set('user.name', 'xxx')
Storage.set('user.schoolId', 'f20171120')
Storage.set('user.type', 1)//0老师1家长
Storage.set('user.teacherId', '4732')
Storage.set('user.mobile', '')

ready(() => { dd.ui.webViewBounce.disable(); })
if (__LOCAL__) {
    getDomRouter(1);
} else {
    Appjudge.init();
}